c868921b71dd3c692c47063c3a7dc90ad0fa5bdb,src/main/java/reborncore/common/recipes/RecipeCrafter.java,RecipeCrafter,hasAllInputs,#IBaseRecipeType#,229

Before Change


		for (ItemStack input : recipeType.getInputs()) {
			Boolean hasItem = false;
			for (int inputslot : inputSlots) {
				if (ItemUtils.isItemEqual(input, inventory.getStackInSlot(inputslot), true, true,
					recipeType.useOreDic()) && inventory.getStackInSlot(inputslot).getCount() >= input.getCount()) {
					hasItem = true;
				}
			}

After Change


		if (recipeType == null) {
			return false;
		}
		for (Object input : recipeType.getInputs()) {
			boolean hasItem = false;
			boolean useOreDict = input instanceof String || recipeType.useOreDic();
			boolean checkSize = input instanceof ItemStack;
			for (int inputslot : inputSlots) {
				if (ItemUtils.isInputEqual(input, inventory.getStackInSlot(inputslot), true, true,
					useOreDict)) {
					ItemStack stack = RecipeTranslator.getStackFromObject(input);
					if(!checkSize || inventory.getStackInSlot(inputslot).getCount() >= stack.getCount()){
						hasItem = true;
					}